﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Gfw.Web.Models.Account
{
    /// <summary>
    /// 电子币交易类型
    /// <para>D币</para>
    /// </summary>
    public class UserEMoneyTradeTypeListModel : List<UserEMoneyTradeTypeListModel>
    {
        public UserEMoneyTradeTypeListModel()
        {

        }

        #region 方法

        public IList<UserEMoneyTradeTypeListModel> GetUserEMoneyTradeTypeList()
        {
            IList<UserEMoneyTradeTypeListModel> list = new List<UserEMoneyTradeTypeListModel>();

            list.Add(new UserEMoneyTradeTypeListModel() { Key = "充值", Value = "Recharge" });
            list.Add(new UserEMoneyTradeTypeListModel() { Key = "X币转入", Value = "TransferIn" });
            list.Add(new UserEMoneyTradeTypeListModel() { Key = "转换G币", Value = "TransferOut" });
            list.Add(new UserEMoneyTradeTypeListModel() { Key = "账户转入", Value = "In" });
            list.Add(new UserEMoneyTradeTypeListModel() { Key = "账户转出", Value = "Out" });

            return list;
        }

        #endregion

        #region 属性

        [Display(Name = "名称")]
        public string Key { get; set; }

        [Display(Name = "值")]
        public string Value { get; set; }

        #endregion
    }
}
